package com.example.service.impl;


import com.example.entity.Merchant;
import com.example.mapper.MerchantMapper;
import com.example.service.IMerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
@Service
public class MerchantServiceImpl implements IMerchantService {
    @Autowired
    private MerchantMapper mapper;
    @Override
    public int addType(Merchant merchant) {
        return mapper.addType(merchant);
    }

    @Override
    public int updateStatus(Integer id) {
        return mapper.updateStatus(id);
    }

    @Override
    public int updateStatus1(Integer id) {
        return mapper.updateStatus1(id);
    }
}
